set(ANDROID_STL "c++_shared")
set(ANDROID_TOOLCHAIN "clang")
set(ANDROID_API "24")
set(ANDROID_SDK_BUILD_TOOLS_REVISION "29.0.2")
set(ANDROID_COMPILER_VERSION "4.9")
set(ANDROID_SDK_ROOT "/opt/android/sdk")
set(ANDROID_PLATFORM "android-${ANDROID_API}")
set(QT_DIR "/usr/${ANDROID_TOOLCHAIN_MACHINE_NAME}")
set(CMAKE_FIND_ROOT_PATH "${QT_DIR}")
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${ANDROID_NDK}/build/cmake)

include(android.toolchain)

set(ANDROID_SYSROOT_GENERIC "${ANDROID_TOOLCHAIN_ROOT}/sysroot/usr/lib/${ANDROID_TOOLCHAIN_MACHINE_NAME}/")
set(ANDROID_SYSROOT "${ANDROID_SYSROOT_GENERIC}/${ANDROID_API}")
set(ANDROID_STDCPP "${ANDROID_SYSROOT}/libstdc++.so")
set(ANDROID_ADDITIONAL_FIND_ROOT_PATH "${QT_DIR};${ANDROID_SYSROOT}")
